<%@ page language="java" contentType="text/html; charset=UTF-8" 
		 pageEncoding="UTF-8"%>
		<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%> 
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<link href="css/biao.css" rel='stylesheet' type='text/css' />

<title>Insert title here</title>
</head>
<body>
                <form action="seleid"  method="post">
                <span>查询id：</span>
                <input  type="text"  name="userid" placeholder="请输入账号"/>
            
                <input  type="submit" value="查询id"  style="background-color:transparent;   width: 80px;
         padding-left:30px;    font-weight: bold;    height: 30px;
         line-height: 30px; border:0px; font-size: 15px; "/>
                <a href="select" class="anniu22">查看所有</a> 
                    <a href="add.jsp"  class="anniu22">添加信息</a>                
            
                </form>

  <table  class="providerTable" cellpadding="0" cellspacing="0" >
  		<tr  class="firstTr">
  			<th>账户</th>
	  		<th>密码</th>
            <th>姓名</th>
	  		<th>地址</th>
	  		<th>日期</th>
	  		<th>失物</th>
	  		<th  width="20%">操作</th>
  		</tr>
 <c:forEach var="U" items="${requestScope.all1}"  >   
      <form action="update" method="post">
       <tr class="firstTr">
	       <td ><input type="text" value="${U.id}" name="id"  style="border:none; text-align:center;"></td>
	       <td><input  type="text" value="${U.pass}" name="pass"  style="border:none; text-align:center;"></td>
            <td><input type="text" value="${U.sname}" name="sname"  style="border:none; text-align:center;"></td>
            <td><input type="text" value="${U.adress}" name="adress"  style="border:none; text-align:center;"></td>
            <td><input type="text"  value="${U.date}" name="date"  style="border:none; text-align:center;"></td> 
            <td><input type="text"  value="${U.goods}" name="goods"  style="border:none; text-align:center;"></td> 
               <td style="align="center" ">
               <input type="submit" value="更新" onclick="return confirm('确定更新记录?')"  style="background-color:transparent;   border:0px; font-size: 12px;"/>
               <a href="delete?id=${U.id}" onclick="return confirm('确定将此记录删除?')">删除</a>
               </td>   
	   </tr>
    </form>
    </c:forEach>
    </table>
</body>
</html>